Class TunnelGroupImpl

java.lang.Object
com.cisco.pt.ipc.impl.IPCObjectImpl
com.cisco.pt.ipc.sim.impl.TunnelGroupImpl
All Implemented Interfaces:
IPCObject, TunnelGroup

public class TunnelGroupImpl extends IPCObjectImpl implements TunnelGroup
Information provided by the PKI file:

    \class TunnelGroup
    
    \brief TunnelGroup handles and manipulates IKE Tunnel Groups.
    
    \example network().getDevice("Router0").getProcess("IpsecProcess").getTunnelGroupAt(0)
    
Author:
Auto-generated
  • Constructor Details

  • Method Details

    • getName

      public String getName()
      Information provided by the PKI file:
      
          \brief Returns the Name for the tunnelgroup.
          
          \return string.
          
              
      Specified by:
      getName in interface TunnelGroup
      Returns:
      String Returns a String
    • setName

      public void setName(String name)
      Information provided by the PKI file:
      
          \brief Sets the name for the tunnelgroup.
          
          \param string.
          
              
      Specified by:
      setName in interface TunnelGroup
      Parameters:
      name - Takes in a parameter of name
    • getTunnelIpsecAtt

      public TunnelIpsecAttribute getTunnelIpsecAtt()
      Information provided by the PKI file:
      
          \brief Returns TunnelIpsecAttribute .
          
          \return TunnelIpsecAttribute, the CTunnelIpsecAttribute object.
          
              
      Specified by:
      getTunnelIpsecAtt in interface TunnelGroup
      Returns:
      TunnelIpsecAttribute Returns a TunnelIpsecAttribute
    • getType

      public TunnelType getType()
      Information provided by the PKI file:
      
          \brief Return the tunnel type in enum
          eRemoteAccess = 0,
          eL2L = 1,
          eTunnelTypeNone = 2,
          eWebVpn = 3
          
              
      Specified by:
      getType in interface TunnelGroup
      Returns:
      TunnelType Returns a TunnelType
    • getTypeString

      public String getTypeString()
      Information provided by the PKI file:
      
          \brief Return the tunnel type in string format
          
              
      Specified by:
      getTypeString in interface TunnelGroup
      Returns:
      String Returns a String
    • setType

      public void setType(TunnelType type)
      Information provided by the PKI file:
      
          \brief Set the tunnel type in enum
          \param type
          eRemoteAccess = 0,
          eL2L = 1,
          eTunnelTypeNone = 2,
          eWebVpn = 3
          
              
      Specified by:
      setType in interface TunnelGroup
      Parameters:
      type - Takes in a parameter of type
    • getGeneralAttributes

      public TunnelGeneralAttributes getGeneralAttributes()
      Information provided by the PKI file:
      
          \brief Returns TunnelGeneralAttributes .
          
          \return TunnelGeneralAttributes, the CTunnelGeneralAttributes object.
          
              
      Specified by:
      getGeneralAttributes in interface TunnelGroup
      Returns:
      TunnelGeneralAttributes Returns a TunnelGeneralAttributes
    • createGeneralAttributes

      public TunnelGeneralAttributes createGeneralAttributes()
      Information provided by the PKI file:
      
          \brief Create TunnelGeneralAttributes .
          
          \return TunnelGeneralAttributes, the newly created TunnelGeneralAttributes object.
          
              
      Specified by:
      createGeneralAttributes in interface TunnelGroup
      Returns:
      TunnelGeneralAttributes Returns a TunnelGeneralAttributes
    • removeGeneralAttributes

      public void removeGeneralAttributes()
      Information provided by the PKI file:
      
          \brief Remove TunnelGeneralAttributes .
          
          \return none
          
              
      Specified by:
      removeGeneralAttributes in interface TunnelGroup